 package com.liangzhong.events
{
	import flash.events.Event;
	/**
	 * 全局通知事件 
	 * @author lxh
	 * 
	 */	
	public class NotifierEvent extends Event
	{
		/**
		 *事件传递的参数 
		 */		
		public var params:Object;
		/**
		 *配置文件加载完毕 
		 */		
		public static const RES_CONFIG_LOAD_COMPLETE	:String = "NotifierEvent/RES_CONFIG_LOAD_COMPLETE";
		/**
		 *显示任务信息面板 
		 */		
		public static const SHOW_TASKINFO_PANEL		:String = "SHOW_TASKINFO_PANEL";
		/**
		 *移除任务信息面板 
		 */		
		public static const CLOSE_TASKINFO_PANEL		:String = "CLOSE_TASKINFO_PANEL";
		/**
		 *显示好友列表 
		 */		
		public static const SHOW_FRIENDLIST_PANEL		:String = "SHOW_FRIENDLIST_PANEL";
		/**
		 *比赛馆资料更新 
		 */		
		public static const MAIN_STADIUM_RES_CHANGE	:String = "MAIN_STADIUM_RES_CHANGE";
		/**
		 *基体信息改变  
		 * 钱，经验，等级改变
		 */
		public static const BASE_INFO_CHANGE			:String = "base_info_change";
		/**
		 *邮件数量改变 
		 */
		public static const MAIL_NUM_CHANGE			:String = "main_num_change";
		/**
		 *俱乐部等级变化 
		 */
		public static const CLUB_LV_CHANGE				:String = "club_lv_change";
		/**
		 *队徽改变 
		 */
		public static const TEAMICON_CHANGE			:String = "teamicon_change";
		/**
		 *俱乐部buff变化 
		 */		
		public static const BUFFER_CHANFE				:String = "NotifierEvent/BUFFER_CHANFE";
		/**
		 * 物品使用面板  
		 */
		public static const GOODUSEPANEL_CHANGE		:String = "goodusePanel_change";
		/**
		 *交易模块数据变化，任务模块监听 
		 */		
		public static const TRADE_DATA_CHANGE 			:String = "NotifierEvent/TRADE_DATA_CHANGE";
		/**
		 * 训练模块数据变化，任务模块监听 
		 */		
		public static const TRAIN_DATA_CHANGE			:String = "NotifierEvent/TRAIN_DATA_CHANGE";
		/**
		 * 比赛模块数据变化，任务模块监听 
		 */		
		public static const MATCH_DATA_CHANGE			:String = "NotifierEvent/MATCH_DATA_CHANGE";
		/**
		 *好友模块数据变化，任务模块监听  
		 */		
		public static const FRIEND_DATA_CHANGE 		:String = "NotifierEvent/FRIEND_DATA_CHANGE";
		/**
		 *抽奖模块数据变化，任务模块监听  
		 */		
		public static const HONOUR_DATA_CHANGE 		:String = "NotifierEvent/HONOUR_DATA_CHANGE";
		/**
		 *巡回赛模块数据变化，任务模块监听  
		 */		
		public static const TOURMATCH_DATA_CHANGE 		:String = "NotifierEvent/TOURMATCH_DATA_CHANGE";
		/**
		 *比赛结束 
		 */		
		public static const MATCH_END					:String = "NotifierEvent/MATCH_END";
		/**
		 *模块加载资源完毕 
		 */		
		public static const MODULE_LOAD_RES_COMPLETE	:String = "Module/MODULE_LOAD_RES_COMPLETE";
		/**
		 *球馆改变 
		 */		
		public static const CLUB_CHANGE_STADIUM		:String = "CLUB/CLUB_CHANGE_STADIUM";
		/**
		 *主界面显示正常模式 
		 */		
		public static const MAIN_SHOW_NORMAL			:String = "Main/NotifierEvent/MAIN_SHOW_NORMAL";
		/**
		 *显示巡回赛 
		 */		
		public static const MAIN_SHOW_TOURMATCH		:String = "Main/NotifierEvent/MAIN_SHOW_TOURMATCH";
		/**
		 *私聊 
		 */
		public static const PRIVATE_CHAT				:String = "chat/PRIVATE_CHAT";
		/**
		 * 预选赛通过
		 */		
		public static const MATCH_PRE_SUCCESS			:String = "NotifierEvent/MATCH_PRE_SUCCESS";
		/**
		 * 甲级联赛通过
		 */		
		public static const MATCH_BASE_SUCCESS			:String = "NotifierEvent/MATCH_BASE_SUCCESS";
		/**
		 * 欧冠赛本轮通过
		 */		
		public static const MATCH_CHAMPION_TRUN_SUCCESS:String = "NotifierEvent/MATCH_CHAMPION_TRUN_SUCCESS";
		/**
		 * 欧冠赛通过
		 */		
		public static const MATCH_CHAMPION_SUCCESS		:String = "NotifierEvent/MATCH_CHAMPION_SUCCESS";
		/**
		 *打完传奇 
		 */		
		public static const MATCH_LEGEND_SUCCESS		:String = "NotifierEvent/MATCH_LEGEND_SUCCESS";
		/**
		 *抽奖返回 
		 */		
		public static const MATCH_USER_AWARD_RES		:String = "NotifierEvent/MATCH_USER_AWARD_RES";
		
		
		/**
		 *获得俱乐部信息 
		 */
		public static const CLUB_INFO:String = "NotifierEvent/club_info";
		
		public function NotifierEvent( type:String,params:Object = null ) 
		{
			super(type);
			this.params = params;
		}
		public override function clone():Event 
		{
			return new NotifierEvent(this.type,this.params);
		}
	}
}